package com.tank.dao;

import java.util.List;

import com.tank.bean.msg.PmContent;
import com.tank.bean.msg.PmDialog;
import com.tank.bean.msg.PmTracker;
import com.tank.bean.User;

public interface PmDAO {

	PmContent buildDialog(PmContent pc);

	PmContent buildPm(PmContent pc);

	PmContent buildTracker(PmContent pc);

	PmContent buildUser(PmContent pc);


	void markRead(int actionId, int dialogId);

	void removeBatch(int actionId, int dialogId);

	void removeContent(int actionId,int dialogId, int contentId);

	List<PmContent> dialog(int actionId, int dialogId);

	List<PmTracker> trackers(Integer actionId);

	Integer countUnread(Integer actionId);

	User dialogPartner(Integer actionId, Integer dialogId);

}
